<?php 
if(@$_GET['id_del_dd']){
	$sql_del="delete from qldl_dia_diem_du_lich 
			  where MA_DIA_DIEM = '".$_GET['id_del_dd']."'
			 ";
			 
	$query_del = @mysql_query($sql_del,$conn);
	if(!$query_del) echo "<script>alert ('Lỗi khi xóa thông tin.')</script>";
	else echo "<script>alert ('Xóa thông tin thành công.')</script>";
if(@$_GET['id_photo_dd']){
	$myphoto=$_GET['id_photo_dd'] ;
unlink($myphoto);
}
echo "<meta http-equiv='refresh' content='0;url=index.php?page=dia_diem'>";
}

?>
